<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <table v-if="isShow" >
    <tr>
      <th>qqq</th>
      <th>qqq</th>
      <th>qqq</th>
      <th>qqq</th>
      <th>qqq</th>
    </tr>
    <tr>
      <td>sss</td>
      <td>sss</td>
      <td>sss</td>
      <td>sss</td>
      <td>sss</td>
    </tr>
    <tr>
      <td>sss</td>
      <td>sss</td>
      <td>sss</td>
      <td>sss</td>
      <td>sss{{onClick}}</td>
    </tr>

  </table>
  <button v-on:click="onClick()">点击</button>
</div>
  <script src="../js/vue.js"></script>
  <script>
    const app = new Vue({
      el:'#app',
      data:{
        message:"你好啊！！",
        isShow:true
      },
      methods:{
        onClick(){
          this.isShow = !this.isShow
        }
      },
      computed:{
        onClick1(){
          return "tttt"
        }
      }
    })
  </script>
</body>
</html>